]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
popupMenu: Raise menu when popping it up
authorRay Strode <rstrode@redhat.com>
Mon, 29 Aug 2011 16:04:17 +0000 (12:04 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 29 Aug 2011 18:11:35 +0000 (14:11 -0400)
When a menu gets popped up, it should never
pop behind anything else in the shell.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

js/ui/popupMenu.js

index afa851d44307b8ff31e1615ce9c209d0b7501323..7b28108deef781fac6edfdc8ec732877cfe0075d 100644 (file)
@@ -1112,6 +1112,8 @@ PopupMenu.prototype = {
         this._boxPointer.setPosition(this.sourceActor, this._alignment);
         this._boxPointer.show(animate);
 
+        this.actor.raise_top();
+
         this.emit('open-state-changed', true);
     },